import request from "@/utils/request";

/**
 * 保存配置信息
 * @param {*} data
 * @returns
 */
export function save(data) {
  return request({
    url: "/bv/config/save",
    method: "post",
    data: data
  });
}


/**
 *
 * @param {*} id
 * @returns
 */
export function getEntity(id) {
  return request({
    url: "/bv/config/" + id,
    method: "get",
  });
}
